package com.gome.ss.webserver.servlet.api;

public class UploadStatus {
	
	private long bytesRead; //已上传的字节数，单位：字节
	
	private long contentLength; //所有文件的总长度，单位：字节
	
	private int  items; //正在上传的第几个文件
	
	private long startTime = System.currentTimeMillis(); //开始上传时间，用于计算上传速率、估算上传时间等 

	public long getBytesRead() {
		return bytesRead;
	}

	public void setBytesRead(long bytesRead) {
		this.bytesRead = bytesRead;
	}

	public long getContentLength() {
		return contentLength;
	}

	public void setContentLength(long contentLength) {
		this.contentLength = contentLength;
	}

	public int getItems() {
		return items;
	}

	public void setItems(int items) {
		this.items = items;
	}

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}
	
}
